import net.shopxx.entity.Order;


public class Test {
	@SuppressWarnings("unchecked")
	public static void main(String[] args) {
//		String source = "10~";
//		String[] ss = source.split("~");
//		System.out.println(ss.length);
//		System.out.println(ss[0]);
//		System.out.println(ss[1]);
		System.out
				.println(Enum.valueOf(Order.OrderStatus.class, "unprocessed").ordinal());
		
	}
}
